package com.relytosoft.mizar.analyze.system.api.pojo.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @author lj
 * @date 2022/5/26 15:53
 */
public class AyPersonInfoDto {


    @ApiModelProperty(value = "主键")
    private Integer id;

    @TableField("NAME")
    private String name;

    @TableField("SEX")
    private Integer sex;

    @TableField("ETHIC_CODE")
    private String ethicCode;

    @TableField("ID_TYPE")
    private Integer idType;

    @TableField("ID_NUMBER")
    private String idNumber;

    @TableField("IS_CRIMINAL_INVOLVED")
    private Integer isCriminalInvolved;

    @TableField("POLITICAL_APPEARANCE")
    private Integer politicalAppearance;

    @TableField("EDUCATION")
    private Integer education;

    @TableField("PHONE")
    private String phone;

    @TableField("ADDRESS")
    private String address;

    @TableField("REMARK")
    private String remark;

    private Integer groupId;

    private List<Integer> groupIds;

    @NotBlank(message = "未填写图片地址")
    private String imageUrl;

    private String idTypeString;

    private String educationString;

    @ApiModelProperty(value = "图片ID")
    private Integer imageId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getEthicCode() {
        return ethicCode;
    }

    public void setEthicCode(String ethicCode) {
        this.ethicCode = ethicCode;
    }

    public Integer getIdType() {
        return idType;
    }

    public void setIdType(Integer idType) {
        this.idType = idType;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public Integer getIsCriminalInvolved() {
        return isCriminalInvolved;
    }

    public void setIsCriminalInvolved(Integer isCriminalInvolved) {
        this.isCriminalInvolved = isCriminalInvolved;
    }

    public Integer getPoliticalAppearance() {
        return politicalAppearance;
    }

    public void setPoliticalAppearance(Integer politicalAppearance) {
        this.politicalAppearance = politicalAppearance;
    }

    public Integer getEducation() {
        return education;
    }

    public void setEducation(Integer education) {
        this.education = education;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public List<Integer> getGroupIds() {
        return groupIds;
    }

    public void setGroupIds(List<Integer> groupIds) {
        this.groupIds = groupIds;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getIdTypeString() {
        return idTypeString;
    }

    public void setIdTypeString(String idTypeString) {
        this.idTypeString = idTypeString;
    }

    public String getEducationString() {
        return educationString;
    }

    public void setEducationString(String educationString) {
        this.educationString = educationString;
    }

    public Integer getImageId() {
        return imageId;
    }

    public void setImageId(Integer imageId) {
        this.imageId = imageId;
    }

    @Override
    public String toString() {
        return "AyPersonInfoDto{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex=" + sex +
                ", ethicCode='" + ethicCode + '\'' +
                ", idType=" + idType +
                ", idNumber='" + idNumber + '\'' +
                ", isCriminalInvolved=" + isCriminalInvolved +
                ", politicalAppearance=" + politicalAppearance +
                ", education=" + education +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                ", remark='" + remark + '\'' +
                ", groupId=" + groupId +
                ", groupIds=" + groupIds +
                ", imageUrl='" + imageUrl + '\'' +
                ", idTypeString='" + idTypeString + '\'' +
                ", educationString='" + educationString + '\'' +
                ", imageId=" + imageId +
                '}';
    }
}
